package za.co.dylanjaneke.airdownloader.command
{
	import za.co.dylanjaneke.airdownloader.events.ShowSettingsEvent;
	import za.co.dylanjaneke.airdownloader.model.ScreenNavigatorPM;
	import za.co.dylanjaneke.airdownloader.model.StatusPM;

	/**
	 * Author: Dylan Janeke.
	 */
	[Name("showSettingsCommand")]
	public class ShowSettingsCommand
	{
		[Inject]
		public var screenNavigatorPM:ScreenNavigatorPM;
		
		[Observer]
		public function handleShowSettingsEvent(event:ShowSettingsEvent): void
		{
			screenNavigatorPM.switchView(ScreenNavigatorPM.SETTINGS);
		}
	}
}